package com.xperblueray.stepbystep.service.impl;

import com.xperblueray.stepbystep.model.AttachmentRelated;
import com.xperblueray.stepbystep.repository.AttachmentRelatedRepository;
import com.xperblueray.stepbystep.service.AttachmentRelatedService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AttachmentRelatedServiceImpl implements AttachmentRelatedService {

    @Resource
    AttachmentRelatedRepository attachmentRelatedRepository;

    @Override
    public AttachmentRelated save(AttachmentRelated attachmentRelated) {
        return attachmentRelatedRepository.save(attachmentRelated);
    }
}
